package com.timanetworks.sensitive.strategy;


import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.crypto.symmetric.SymmetricAlgorithm;
import cn.hutool.crypto.symmetric.SymmetricCrypto;
import com.timanetworks.sensitive.consts.CncryptionConstant;
import com.timanetworks.sensitive.util.EncryptionTuils;

/**
 * 字段解密和加密
 * @author zhaojian
 * @date 2021年9月6日 16点13分
 **/
public class EnDecryptionAttributeStrategy implements IStrategy {

    @Override
    public String desensitization(String body,int begin ,int end) {
        return EncryptionTuils.enDecryptHex(body);
    }

}
